package org.osomit.sacct.remoting;

import org.osomit.sacct.remoting.socket.SocketListener;
import org.osomit.sacct.server.lifecycle.ServerLifeCycle;
import com.google.inject.ImplementedBy;

/**
 * @author Jian Fang (John.Jian.Fang@gmail.com)
 *
 * Date: Jun 29, 2009
 */
@ImplementedBy(SocketListener.class)
public interface Listener extends ServerLifeCycle, Runnable{

    public void setPoolSize(int poolSize);
    
    public void setPort(int port);
}
